package cn.wolfcode.luowowo.search.service;

import cn.wolfcode.luowowo.search.template.StrategyTemplate;
import cn.wolfcode.luowowo.search.template.UserInfoTemplate;

import java.util.List;

/**
 * Created by LENOVO on 2019/8/17.
 */
public interface IUserInfoTemplateSearchService {
    /**
     * 新增或者修改
     * @param template
     */
    void saveOrUpdate(UserInfoTemplate template);

    /**
     * 目的地查询用户集合
     * @param name
     * @return
     */
    List<UserInfoTemplate> findByDestName(String name);
}
